home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / DtWsmGetCurrentWorkspace.z / DtWsmGetCurrentWorkspace
Encoding:
Text File  |  2003-11-18  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      DDDDttttWWWWssssmmmmGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkUUUUssssNNNNppppIIIIaaaaXXXXcccceeeeSSSS((((yyyy3333ssss))))tttteeeemmmm VVVV ((((1111    AAAAuuuugggguuuuDDDDssssttttttttWWWWssss1111mmmm9999GGGG9999eeee5555tttt))))CCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkssssppppaaaacccceeee((((3333))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       DtWsmGetCurrentWorkspace - get the current workspace
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       ####iiiinnnncccclllluuuuddddeeee <<<<DDDDtttt////WWWWssssmmmm....hhhh>>>>
  13.  
  14.       SSSSttttaaaattttuuuussss DDDDttttWWWWssssmmmmGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkssssppppaaaacccceeee((((DDDDiiiissssppppllllaaaayyyy ****_d_i_s_p_l_a_y,,,,
  15.                       WWWWiiiinnnnddddoooowwww _r_o_o_t,,,,
  16.                       AAAAttttoooommmm ****_p_a_W_o_r_k_s_p_a_c_e))));;;;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       The DDDDttttWWWWssssmmmmGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkssssppppaaaacccceeee() function works    with the CDE
  20.       workspace manager, ddddttttwwwwmmmm(1), and returns the name of the
  21.       current workspace (converted to an X atom).
  22.  
  23.       The _d_i_s_p_l_a_y argument is the X    display.
  24.  
  25.       The _r_o_o_t argument is the root    window of the screen of
  26.       interest.
  27.  
  28.       The _p_a_W_o_r_k_s_p_a_c_e argument is the address of an    atom to
  29.       receive the current workspace    identifier.
  30.  
  31.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  32.       Upon successful completion, the DDDDttttWWWWssssmmmmGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkssssppppaaaacccceeee()
  33.       function returns Success and the atom    identifying the
  34.       current workspace is returned    in _p_a_W_o_r_k_s_p_a_c_e;    otherwise, it
  35.       returns a value not equal to Success.
  36.  
  37.      AAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN UUUUSSSSAAAAGGGGEEEE
  38.       If the DDDDttttWWWWssssmmmmGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttWWWWoooorrrrkkkkssssppppaaaacccceeee() function is    not
  39.       successful, the most likely reason for failure is that the
  40.       CDE workspace    manager, ddddttttwwwwmmmm(1), is not running.
  41.  
  42.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.       ddddttttwwwwmmmm(1), DDDDttttWWWWssssmmmm(5).
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.